package org.jeecg.modules.crm.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: Purchaser / Tenant
 * @Author: jeecg-boot
 * @Date:   2025-04-28
 * @Version: V1.0
 */
@Data
@TableName("sales_purchaser_tenant")
@ApiModel(value="sales_purchaser_tenant对象", description="Purchaser / Tenant")
public class SalesPurchaserTenant implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**Tenant*/
	@Excel(name = "Tenant", width = 15)
    @ApiModelProperty(value = "Tenant")
    private String tenant;
	/**Tenant NRIC*/
	@Excel(name = "Tenant NRIC", width = 15)
    @ApiModelProperty(value = "Tenant NRIC")
    private String tenantNric;
	/**Tenant Contact*/
	@Excel(name = "Tenant Contact", width = 15)
    @ApiModelProperty(value = "Tenant Contact")
    private String tenantContact;
	/**Tenant Address*/
	@Excel(name = "Tenant Address", width = 15)
    @ApiModelProperty(value = "Tenant Address")
    private String tenantAddress;
	/**Purchaser*/
	@Excel(name = "Purchaser", width = 15)
    @ApiModelProperty(value = "Purchaser")
    private String purchaser;
	/**Purchaser NRIC*/
	@Excel(name = "Purchaser NRIC", width = 15)
    @ApiModelProperty(value = "Purchaser NRIC")
    private String purchaserNric;
	/**Purchaser Contact*/
	@Excel(name = "Purchaser Contact", width = 15)
    @ApiModelProperty(value = "Purchaser Contact")
    private String purchaserContact;
	/**Purchaser Address*/
	@Excel(name = "Purchaser Address", width = 15)
    @ApiModelProperty(value = "Purchaser Address")
    private String purchaserAddress;
	/**MainId*/
    @ApiModelProperty(value = "MainId")
    private String mainId;
}
